<?php
$count = 0;
?>
<h2 class="blue">Welcome to our Fundraising Online Catalog</h2>
<p>You can browse 100's of magazine titles covering topics of interest for all ages. We also offer a unique variety of fundraising items such as candles, cards, candy, coffee, young readers books, and music. </p>
<p>Support your organization or group by ordering magazines and other fundraising items from our secure online catalog.</p>
<p>If you have arrived at this site via an invite from a friend or relative you are already on your way to supporting this worthwhile cause. The person who sent you the link will automatically receive credit provided you clicked on the link they sent you to arrive at this page. If you do not see their name above please contact the individual or group and ask them to resend their link to you or make sure you include their name and school name at checkout.</p>

<?php foreach ($data as $item) : ?>
    <?php
    $class = 'home_product quarters left';
    if ($count != count($data)) {
        $class .= ' nl';
    }
    ?>
    <?php ?><article class="<?php echo $class; ?>" style="background:#025E73 url('<?php echo taxonomy_image_get_url($item['tid']);?>') no-repeat top; background-size:cover;">
    <a href="<?php echo url('taxonomy/term/' . $item['tid']); ?>" class="product_cat_btn">
  <!--      <?php echo taxonomy_image_display($item['tid']); ?>   -->
        <br />
        <p class="product_desc">
            <?php echo $item['description']; ?>
        </p>
        <h3 class="product-name"><?php echo $item['name'] ?></h3></a>
    </article><?php ?>
    <?php $count++; ?>
<?php endforeach; ?>

